home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / PWADTC10.ZIP / EXAMPLE.BAT < prev    next >
DOS Batch File  |  1995-03-26  |  1KB  |  23 lines

  1. @echo off
  2. rem
  3. rem    This utility will shrink your download.txt file according to several
  4. rem    options specified in the config file.  You'll have to be careful
  5. rem    about when and where you run this, as it could cause sharing
  6. rem    violations if you do it at the wrong time (right when PCBoard is
  7. rem    accessing the DOWNLOAD.TXT file).  My suggestion is to only run it
  8. rem    manually every once in a while.  The alternative is to make sure all
  9. rem    nodes are down (so no xfers are taking place) and then running it.
  10. rem
  11. rem    Other improvements to add:
  12. rem        1. Remove by arbitrary filename and/or extension
  13. rem        2. Truncate according to date (this isn't terribly important
  14. rem           since if you remove files that don't exist, it gets rid of
  15. rem           all the old files anyway).
  16. rem
  17. rem    The following example assumes you have specified the output file as
  18. rem    "c:\pcb\main\download.out"
  19. rem
  20. dtc
  21. ren c:\pcb\main\download.txt c:\pcb\main\download.bak
  22. ren c:\pcb\main\download.out c:\pcb\main\download.txt
  23.